package com.youshuit.designmodedemo.service.impl.proxy;

import com.youshuit.designmodedemo.service.IImageService;
import org.springframework.stereotype.Service;

/**
 * @author zhongzm
 * @date 2025-11-04 10:51
 */
@Service
public class RealImageServiceImpl implements IImageService {

    private String imageUrl;

    public RealImageServiceImpl() {
    }
    public RealImageServiceImpl(String imageUrl) {
        this.imageUrl = imageUrl;
    }


    @Override
    public void dispaly() {
        System.out.println("显示图片" + imageUrl);
    }

    @Override
    public void updateImageUrl(String imageUrl) {
        System.out.println("上传图片url为" + imageUrl);
    }
}
